package jee.boot.entity.system;

import jee.boot.common.annotation.Column;
import jee.boot.common.annotation.Table;
import jee.boot.common.annotation.Transient;
import jee.boot.common.basic.DataEntity;
import jee.boot.entity.auth.Account;

import java.util.Date;

/**
 * 国际语言表
 */
@Table(name = "st_i18n")
public class I18n extends DataEntity<I18n> {
    /**
     * 国际化翻译类型
     */
    private String type;
    /**
     * 语言编码
     */
    private String code;
    /**
     * 国际化语言ID
     */
    @Column(name="language")
    private String languageCode;
    /**
     * 显示文本
     */
    private String label;



    /**
     * 忽略系统内的审计字段
     */
    @Transient
    protected Account createBy;
    @Transient
    protected Account updateBy;
    @Transient
    protected Date createDate;
    @Transient
    protected Date updateDate;
    @Transient
    protected String remarks;
    @Transient
    protected String status;
    @Transient
    protected String tenant;
    
    
    public I18n() {
    }

    public I18n(String id) {
        super(id);
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLanguageCode() {
        return languageCode;
    }

    public void setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
